'use strict';

const db = uniCloud.database();
exports.main = async (event, context) => {
	let { id, comment } = event;
	
	return await db.collection("feedback").doc(id).update({
		comment
	})
};
